<html>
<head><meta charset="utf-8"><title>Change type folding to take self by value compiler-team#371 · t-compiler/major changes · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/233931-t-compiler/major-changes/index.html">t-compiler/major changes</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/233931-t-compiler/major-changes/topic/Change.20type.20folding.20to.20take.20self.20by.20value.20compiler-team.23371.html">Change type folding to take self by value compiler-team#371</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="213641922"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/233931-t-compiler/major%20changes/topic/Change%20type%20folding%20to%20take%20self%20by%20value%20compiler-team%23371/near/213641922" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> triagebot <a href="https://rust-lang.github.io/zulip_archive/stream/233931-t-compiler/major-changes/topic/Change.20type.20folding.20to.20take.20self.20by.20value.20compiler-team.23371.html#213641922">(Oct 17 2020 at 08:46)</a>:</h4>
<p>A new proposal has been announced: <a href="https://github.com/rust-lang/compiler-team/issues/371">Change type folding to take self by value #371</a>. It will be announced at the next meeting to try and draw attention to it, but usually MCPs are not discussed during triage meetings. If you think this would benefit from discussion amongst the team, consider proposing a design meeting.</p>



<a name="213652039"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/233931-t-compiler/major%20changes/topic/Change%20type%20folding%20to%20take%20self%20by%20value%20compiler-team%23371/near/213652039" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/233931-t-compiler/major-changes/topic/Change.20type.20folding.20to.20take.20self.20by.20value.20compiler-team.23371.html#213652039">(Oct 17 2020 at 13:30)</a>:</h4>
<p>Context: <a href="#narrow/stream/233931-t-compiler.2Fmajor-changes/topic/Make.20TyKind.20Copy.20and.20change.20ty.2Ekind%28%29.20to.20.E2.80.A6.20compiler-team.23363/near/212461206">https://rust-lang.zulipchat.com/#narrow/stream/233931-t-compiler.2Fmajor-changes/topic/Make.20TyKind.20Copy.20and.20change.20ty.2Ekind%28%29.20to.20.E2.80.A6.20compiler-team.23363/near/212461206</a></p>



<a name="213708031"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/233931-t-compiler/major%20changes/topic/Change%20type%20folding%20to%20take%20self%20by%20value%20compiler-team%23371/near/213708031" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> triagebot <a href="https://rust-lang.github.io/zulip_archive/stream/233931-t-compiler/major-changes/topic/Change.20type.20folding.20to.20take.20self.20by.20value.20compiler-team.23371.html#213708031">(Oct 18 2020 at 14:09)</a>:</h4>
<p><span class="user-group-mention" data-user-group-id="492">@T-compiler</span>: Proposal <a href="https://github.com/rust-lang/compiler-team/issues/371#issuecomment-711173160">#371</a> has been seconded, and will be approved in 10 days if no objections are raised.</p>



<a name="214399712"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/233931-t-compiler/major%20changes/topic/Change%20type%20folding%20to%20take%20self%20by%20value%20compiler-team%23371/near/214399712" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lcnr <a href="https://rust-lang.github.io/zulip_archive/stream/233931-t-compiler/major-changes/topic/Change.20type.20folding.20to.20take.20self.20by.20value.20compiler-team.23371.html#214399712">(Oct 24 2020 at 00:25)</a>:</h4>
<p>implemented in <a href="https://github.com/rust-lang/rust/pull/78313">https://github.com/rust-lang/rust/pull/78313</a></p>



<a name="214399723"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/233931-t-compiler/major%20changes/topic/Change%20type%20folding%20to%20take%20self%20by%20value%20compiler-team%23371/near/214399723" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lcnr <a href="https://rust-lang.github.io/zulip_archive/stream/233931-t-compiler/major-changes/topic/Change.20type.20folding.20to.20take.20self.20by.20value.20compiler-team.23371.html#214399723">(Oct 24 2020 at 00:25)</a>:</h4>
<p>doing stuff like this is just like meditating, except that it's worse for my eyes</p>



<a name="214416790"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/233931-t-compiler/major%20changes/topic/Change%20type%20folding%20to%20take%20self%20by%20value%20compiler-team%23371/near/214416790" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/233931-t-compiler/major-changes/topic/Change.20type.20folding.20to.20take.20self.20by.20value.20compiler-team.23371.html#214416790">(Oct 24 2020 at 09:04)</a>:</h4>
<p><span class="user-mention" data-user-id="216206">@lcnr</span> Do you want me to rebase my PR for <code>&amp;TyKind -&gt; TyKind</code> on this PR, to test perf?</p>



<a name="214416805"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/233931-t-compiler/major%20changes/topic/Change%20type%20folding%20to%20take%20self%20by%20value%20compiler-team%23371/near/214416805" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lcnr <a href="https://rust-lang.github.io/zulip_archive/stream/233931-t-compiler/major-changes/topic/Change.20type.20folding.20to.20take.20self.20by.20value.20compiler-team.23371.html#214416805">(Oct 24 2020 at 09:05)</a>:</h4>
<p>you can try, we still have the issue when visiting though</p>



<a name="214416858"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/233931-t-compiler/major%20changes/topic/Change%20type%20folding%20to%20take%20self%20by%20value%20compiler-team%23371/near/214416858" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lcnr <a href="https://rust-lang.github.io/zulip_archive/stream/233931-t-compiler/major-changes/topic/Change.20type.20folding.20to.20take.20self.20by.20value.20compiler-team.23371.html#214416858">(Oct 24 2020 at 09:06)</a>:</h4>
<p>let's first look at the perf results of <a href="https://github.com/rust-lang/rust/issues/78313">#78313</a> by itself</p>



<a name="214884947"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/233931-t-compiler/major%20changes/topic/Change%20type%20folding%20to%20take%20self%20by%20value%20compiler-team%23371/near/214884947" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> triagebot <a href="https://rust-lang.github.io/zulip_archive/stream/233931-t-compiler/major-changes/topic/Change.20type.20folding.20to.20take.20self.20by.20value.20compiler-team.23371.html#214884947">(Oct 28 2020 at 19:17)</a>:</h4>
<p>This proposal has been accepted: <a href="https://github.com/rust-lang/compiler-team/issues/371">#371</a>.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>